package com.kingre.et;

/**
 * Constant values used throughout the application.
 * 
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
/**
 * @author Administrator
 * 
 */
public class Constants {

    /**
     * 题目总数
     */
    public static final int COUNT_QUESTION = 84;
    /**
     * 每页显示题数
     */
    public static final int COUNT_PAGE = 10;
    /**
     * 管理员角色
     */
    public static final String ADMIN_ROLE = "ROLE_ADMIN";
    /**
     * 测评用户角色
     */
    public static final String USER_ROLE = "ROLE_USER";
    /**
     * 老师角色
     */
    public static final String TEACHER_ROLE = "ROLE_TEACHER";
    /**
     * 专家角色
     */
    public static final String EXPERT_ROLE = "ROLE_EXPERT";
    /**
     * 未激活用户STATUS_CODE
     */
    public static final int USER_STATUS_CODE_NOT_ACTIVE = 0;
    /**
     * 有效用户STATUS_CODE
     */
    public static final int USER_STATUS_CODE_ENABLE = 1;
    /**
     * 无效用户STATUS_CODE
     */
    public static final int USER_STATUS_CODE_DISABLE = -1;
    /**
     * URL方式控制安全
     */
    public static final String SECURITY_FILTER_URL = "URL";

    /**
     * 拥有高校总报告需达到的人数
     */
    public static final int SCHOOL_REPORT_NUM = 50;

    /**
     * 拥有院系总报告需达到的人数
     */
    public static final int SUB_SCHOOL_REPORT_NUM = 30;

    public static final String HUAWEI_MAIL_USER = "yjg5@163.com";
    public static final String HUAWEI_MAIL_PASSWORD = "791122";

}
